﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HR_EmpChange.aspx.cs" Inherits="ArtLand.OA.Project.HR.HR_EmpChange" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../css/Mastr.css" rel="stylesheet" />
    <script src="../js/jquery-1.4.1.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="pan" AutoSizePanelID="pan1" />
        <ext:Panel runat="server" ID="pan1" ShowHeader="false" Layout="Fit" ShowBorder="false">
            <Toolbars>
                <ext:Toolbar>
                    <Items>
                        <ext:Button runat="server" ID="btnSave" Text="保存" Icon="Accept" ValidateForms="sim1" OnClick="btnSave_Click"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <%--<ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
                    <Regions>
                        <ext:Region ID="Region2" Split="true" EnableSplitTip="true" CollapseMode="Mini" Width="140px"
                            Margins="0 0 0 0" ShowHeader="false" Title="选择类别" EnableLargeHeader="false" Icon="Outline"
                            EnableCollapse="true" Layout="Fit" Position="Left" runat="server" ShowBorder="false">
                            <Items>
                                <ext:ContentPanel ShowBorder="false" ShowHeader="false">
                                    <div style="height: auto; width: 135px; padding-bottom: 300px; padding-top: 2px; padding-left: 2px;">
                                        <span id="span1" class="main-btn2a title-bg" style="padding-left: 5px; display: block; width: 130px; height: 28px; line-height: 28px;"><%=_a1 %></span>
                                        <span id="span2" style="padding-left: 5px; display: block; width: 130px; line-height: 28px;" title="合同关系"><%=_a2 %></span>
                                        <span id="span3" style="padding-left: 5px; display: block; width: 130px; line-height: 28px;"><%=_a3 %></span>
                                    </div>
                                </ext:ContentPanel>--%>
                <%--<ext:Tree runat="server" EnableArrows="true" ShowBorder="false" ShowHeader="false"
                                    AutoScroll="true" ID="treeMenu">
                                    <Nodes>
                                        <ext:TreeNode IconUrl="" Text="基本信息" Icon="Vcard"></ext:TreeNode>
                                        <ext:TreeNode IconUrl="" Text="职位信息" Icon="PageWhiteText"></ext:TreeNode>
                                        <ext:TreeNode IconUrl="" Text="薪资情况"></ext:TreeNode>
                                        <ext:TreeNode IconUrl="" Text="档案信息"></ext:TreeNode>
                                    </Nodes>
                                </ext:Tree>--%>
                <ext:ContentPanel ShowHeader="false" ShowBorder="false" AutoScroll="true" runat="server" ID="Con1">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss">
                        <tbody>
                            <tr>
                                <td>
                                    <div class="title-bg" style="border-top-width: 0px;">
                                        <span class="title-font main-btn2">员工基本信息</span>
                                    </div>
                                    <div class="main-ttablewl">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss main-ttable">
                                            <tbody>
                                                <tr>
                                                    <td width="115px" align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>员工编号:
                                                    </td>
                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_EMPLID" Width="140px" Required="true" ShowRedStar="true"></ext:TextBox>
                                                    </td>
                                                    <td width="115px" align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>姓名:
                                                    </td>
                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_EMNAME" Width="160px" Required="true" ShowRedStar="true"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;英文名:
                                                    </td>
                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_ENGNAM" Width="160px"></ext:TextBox>
                                                    </td>

                                                    <td rowspan="9" class="listline">
                                                        <div style="text-align: center;">
                                                            <div style="width: 138px; height: 160px; vertical-align: middle; margin: 10px; padding: 1px; border: 1px #CCC solid;">
                                                                <ext:Image runat="server" ID="img_HeadLogo" Width="138px" Height="160px"></ext:Image>
                                                            </div>
                                                            <ext:FileUpload runat="server" ID="File_Upload" ButtonOnly="true" ShowLabel="false" ButtonIcon="DiskUpload" Width="110px" ButtonText="上传头像" AutoPostBack="true" OnFileSelected="File_Upload_FileSelected"></ext:FileUpload>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>部门:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:DropDownList runat="server" ID="Drp_DEPMET" Width="100px" EnableSimulateTree="true"></ext:DropDownList>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;民族:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_Nation" Width="160px"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>性别:
                                                    </td>
                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                        <ext:DropDownList runat="server" ID="Drp_EMPSEX" Width="160px">
                                                            <ext:ListItem Text="--请选择--" Value="0" />
                                                            <ext:ListItem Text="男" Value="男" />
                                                            <ext:ListItem Text="女" Value="女" />
                                                        </ext:DropDownList>
                                                    </td>

                                                </tr>
                                                <tr>
                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;出生日期:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:DatePicker runat="server" ID="txt_BIRDAT" Width="160px"></ext:DatePicker>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;分公司:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_COMPAY" Width="160px"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>职称:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_JOBS" Width="160px"></ext:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;身份证号:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_IDCard" Width="160px"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;籍贯:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_Hometown" Width="160px"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;政治面貌:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:DropDownList runat="server" ID="Drp_PoliticalType" Width="160px">
                                                            <ext:ListItem Text="群众" Value="群众" Selected="true" />
                                                            <ext:ListItem Text="团员" Value="团员" />
                                                            <ext:ListItem Text="党员" Value="党员" />
                                                        </ext:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="6" width="130px" align="left" class="org f2 listline">
                                                        <div class="title-bg">
                                                            <span class="title-font main-btn1">教育背景</span>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;学历:
                                                    </td>
                                                    <td height="32" class="listline" style="padding-left: 5px;">
                                                        <ext:DropDownList runat="server" ID="Drp_EDUCAT" Width="160px">
                                                            <ext:ListItem Text="高中" Value="高中" />
                                                            <ext:ListItem Text="中专" Value="中专" />
                                                            <ext:ListItem Text="大专" Value="大专" />
                                                            <ext:ListItem Text="本科" Value="本科" />
                                                            <ext:ListItem Text="硕士" Value="硕士" />
                                                            <ext:ListItem Text="博士" Value="博士" />
                                                            <ext:ListItem Text="其他" Value="其他" />
                                                        </ext:DropDownList>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;学位:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:DropDownList runat="server" ID="Drp_Degree" Width="160px">
                                                            <ext:ListItem Text="无" Value="无" />
                                                            <ext:ListItem Text="学士" Value="学士" />
                                                            <ext:ListItem Text="硕士" Value="硕士" />
                                                            <ext:ListItem Text="博士" Value="博士" />
                                                            <ext:ListItem Text="其他" Value="其他" />
                                                        </ext:DropDownList>
                                                    </td>
                                                    <td height="32" align="left" class="org f2 listline">&nbsp;&nbsp;所学专业:
                                                    </td>
                                                    <td height="32" class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_Specialty" Width="160px"></ext:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;毕业院校:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_SHCOOL" Width="160px"></ext:TextBox>

                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;毕业时间:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:DatePicker runat="server" ID="txt_GraduationTime" Width="160px"></ext:DatePicker>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;"></td>
                                                </tr>

                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="title-bg">
                                        <span class="title-font main-btn2">联系方式及其他信息</span>
                                    </div>
                                    <div class="main-ttablewl">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss main-ttable">
                                            <tbody>
                                                <tr>
                                                    <td align="left" class="org f2 listline" width="105px" style="height: 32px;">&nbsp;&nbsp;<span style="color:red;font-weight:bold;">*</span>手机号码:
                                                    </td>
                                                    <td class="listline" width="135px" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_Phone" Width="125px"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;Email:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_UEMAIL" Width="125px"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline" width="105px">&nbsp;&nbsp;家庭电话:
                                                    </td>
                                                    <td class="listline" width="135px" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_HomeTel" Width="125px"></ext:TextBox>
                                                    </td>
                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;紧急联系电话:
                                                    </td>
                                                    <td class="listline" style="padding-left: 5px;">
                                                        <ext:TextBox runat="server" ID="txt_LinkPhone" Width="125px"></ext:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;特长及爱好:
                                                    </td>
                                                    <td class="org f2 listline listline_tdpadding" colspan="7" style="padding-left: 5px;">
                                                        <ext:TextArea runat="server" ID="txt_REMARK" Width="410px"></ext:TextArea>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </ext:ContentPanel>

            </Items>
            <%--</ext:Region>
                        <ext:Region ID="Region3" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center" runat="server" ShowBorder="false">
                            <Items>--%>

            <%--<ext:ContentPanel runat="server" ID="Con2" ShowBorder="false" ShowHeader="false" Hidden="true">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss">
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <div class="title-bg" style="border-top-width: 0px;">
                                                        <span class="title-font main-btn1">合同关系</span>
                                                    </div>
                                                    <div>
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss main-ttable">
                                                            <tbody>
                                                                <tr>
                                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;员工编号:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox1" Width="130px"></ext:TextBox>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;直线经理员工编号:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox5" Width="160px"></ext:TextBox>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;入司日期:
                                                                    </td>
                                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                                        <ext:DatePicker runat="server" ID="txt_ENTRYTIME" Width="160px"></ext:DatePicker>
                                                                    </td>
                                                                    
                                                                </tr>
                                                                <tr>
                                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;合同类型:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox3" Width="160px"></ext:TextBox>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline">&nbsp;&nbsp;合同开始日期:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox4" Width="160px"></ext:TextBox>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;合同结束日期:
                                                                    </td>
                                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                                        <ext:DatePicker runat="server" ID="DatePicker1" Width="160px"></ext:DatePicker>
                                                                    </td>
                                                                    
                                                                    
                                                                </tr>
                                                                <tr>
                                                                    
                                                                    <td align="left" class="org f2 listline" width="115px" style="height:32px;">&nbsp;&nbsp;转正日期:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:DatePicker runat="server" ID="txt_PositiveTime" Width="160px"></ext:DatePicker>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;员工状态:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:DropDownList runat="server" ID="Drp_StaffStatus" Width="100px">
                                                                            <ext:ListItem Text="试用期" Value="2" />
                                                                            <ext:ListItem Text="已转正" Value="1" />

                                                                            <ext:ListItem Text="已离职" Value="3" />
                                                                            <ext:ListItem Text="已退休" Value="4" />
                                                                            <ext:ListItem Text="临时" Value="5" />
                                                                            <ext:ListItem Text="其他" Value="99" />
                                                                        </ext:DropDownList>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" width="115px"
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </ext:ContentPanel>--%>
            <%--<ext:ContentPanel runat="server" ID="Con3" Hidden="true" ShowBorder="false" ShowHeader="false">
                                     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss">
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <div class="title-bg" style="border-top-width: 0px;">
                                                        <span class="title-font main-btn1">薪资设定</span>
                                                    </div>
                                                    <div>
                                                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="list_tdcss main-ttable">
                                                            <tbody>
                                                               <tr>
                                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;员工编号:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox2" ></ext:TextBox>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" style="height: 32px;">&nbsp;&nbsp;基本工资:
                                                                    </td>
                                                                    <td class="listline" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox6" ></ext:TextBox>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;岗位工资:
                                                                    </td>
                                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox7" ></ext:TextBox>
                                                                    </td>
                                                                    <td align="left" class="org f2 listline" width="115px">&nbsp;&nbsp;工龄工资:
                                                                    </td>
                                                                    <td class="listline" width="170px" style="padding-left: 5px;">
                                                                        <ext:TextBox runat="server" ID="TextBox8" ></ext:TextBox>
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                    <div class="title-bg">
                                                        <span class="title-font main-btn1">每月薪资扩展信息</span>
                                                    </div>
                                                    <div>
                                                        <ext:Grid runat="server" ID="Grid1" ShowBorder="false" ShowHeader="false" ForceFitAllTime="true">
                                                            <Columns>
                                                                <ext:BoundField HeaderText="年月" DataField="YMONTH" />
                                                                <ext:BoundField HeaderText="绩效工资" DataField="JSALARY" TextAlign="Center" />
                                                                <ext:BoundField HeaderText="通讯费" DataField="CSALRY" TextAlign="Center" />
                                                                <ext:BoundField HeaderText="过节费" DataField="ASALRY"  TextAlign="Center"/>
                                                                <ext:BoundField HeaderText="奖金" DataField="PSALRY" TextAlign="Center" />
                                                                <ext:BoundField HeaderText="午餐补贴" DataField="LSALRY"  TextAlign="Center"/>
                                                                <ext:BoundField HeaderText="其它补贴" DataField="OSALRY" TextAlign="Center" />
                                                                <ext:BoundField HeaderText="缺勤应扣" DataField="ABSENC"  TextAlign="Center"/>
                                                                <ext:BoundField HeaderText="个人所得税" DataField="PERTAX"  TextAlign="Center"/>
                                                            </Columns>
                                                        </ext:Grid>
                                                    </div>
                                                </td>
                                            </tr> 
                                        </tbody>
                                     </table>
                                </ext:ContentPanel>--%>
            <%-- </Items>
                        </ext:Region>
                    </Regions>
                </ext:RegionPanel>
            </Items>--%>
        </ext:Panel>
        <ext:HiddenField runat="server" ID="hid1"></ext:HiddenField>
        <ext:Button runat="server" ID="hibtn" OnClick="hibtn_Click" Hidden="true"></ext:Button>
    </form>
    <script>
        function ShowCon(s) {
            var t = $("#<%=hid1.ClientID%>");
            t.val(s);
            for (var i = 1; i < 5; i++) {
                $("#span" + i).removeClass();
            }
            $("#span" + s).attr("class", "main-btn2a title-bg");
            __doPostBack('hibtn', '');
        }
    </script>
</body>
</html>
